
using AutoMapper;
using HCD.Hcd.Dtos;
using HCD.Entities;
using HCD.Entities.Dtos;

namespace HCD.His.Dtos
{
	public static class CustomHisMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<HisOrders, HisOrdersDto>();
            configuration.CreateMap<HisOrdersDto, HisOrders>();

            configuration.CreateMap<HisOperation, HisOperationDto>();
            configuration.CreateMap<HisOperationDto, HisOperation>();

            configuration.CreateMap<HisExam, HisExamDto>();
            configuration.CreateMap<HisExamDto, HisExam>();

            configuration.CreateMap<HisExamReport, HisExamReportDto>();
            configuration.CreateMap<HisExamReportDto, HisExamReport>();

            configuration.CreateMap<HisLabTest, HisLabTestDto>();
            configuration.CreateMap<HisLabTestDto, HisLabTest>();

            configuration.CreateMap<HisLabResult, HisLabResultDto>();
            configuration.CreateMap<HisLabResultDto, HisLabResult>();
        }
    }
}
